<%@page import="sun.security.provider.certpath.OCSP.RevocationStatus"%>
<%@page import="java.io.StringWriter"%>
<%@page import="com.immiinfo.model.others"%>
<%@page import="com.immiinfo.model.parengCap"%>
<%@page import="com.immiinfo.model.par_major"%>
<%@page import="com.immiinfo.model.Mymajor"%>
<%@page import="com.immiinfo.model.parskillwork"%>
<%@ page import="com.immiinfo.model.*"%>
<%@page import="javax.swing.plaf.basic.BasicInternalFrameTitlePane.TitlePaneLayout"%>
<%@page import="com.immiinfo.model.tiWorkExper"%>
<%@page import="com.immiinfo.model.engCap"%>
<%@page import="com.immiinfo.model.baseInfo"%>
<%@page import="com.immiinfo.model.par_work_experience"%>
<%@page import="com.immiinfo.model.work_experience"%>
<%@page import="com.immiinfo.model.information"%>
<%@page import="com.immiinfo.model.*"%>
<%@page import="com.DB.DBHelper"%>
<%@page import="com.DB.DBSelectHelper"%>
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>详细信息</title>
<script type="text/javascript" src="/immigration/js/jquery.js"></script>
<script type="text/javascript" src="/immigration/js/guide.js"></script>
<script type="text/javascript" src="../../js/score_selection.js"></script>
 <script type="text/javascript" src="../../js/laydate/laydate.js" > </script>
 <script type="text/javascript" src="../../js/Isselected.js"></script>
 <script type="text/javascript" src="../../js/table_manage.js"></script>
<style type="text/css">
body{
background-image:url(../../image/admin_bg.png);
background-repeat:repeat-x;
margin-left: 0px;
margin-top: 0px;
margin-right: 1px;
margin-bottom: 0px;
font-family:Microsoft YaHei;
font-size:13px;
}
.body-div{
margin-left:10px;
}
h2{
font-family:Microsoft YaHei;
color:#fff;
margin: 5px 5px 5px 5px;
font-size:16px;
}
#left{
		margin-left: 28px;
		}
	#left1{
		margin-left:45px;
		
		}
</style>
</head>
<body>
<h2>用户详细信息</h2>
<div style="margin-top:10px;">
<% String email=request.getParameter("EMAIL");                                                                                                                                                                                                                                                                             
  request.setCharacterEncoding("UTF-8");
 String Nowtag=request.getParameter("tag");
 int tag=Integer.parseInt(Nowtag);
  String number=request.getParameter("tempj");
  int nowj=Integer.parseInt(number);
  baseInfo resInfo=DBHelper.getbaseInfobyemail(email);
  email=resInfo.getE_mail();
  int ismarry=resInfo.getIsMarry();
  String par_birthday=resInfo.getPartnerBir();
  %>

 <form  name="add" method="post" action="updateUserInfo" onsubmit="return checkISNull()">
				      <table width="900" border="0"  cellspacing="0"  align="center">
				        <tr>
				          <td colspan="4"></td>
				        </tr>
				        <tr>
				          <td colspan="4" style="font-size:14px; font-weight:bold" align="center" height="50px" ><p></p><p></p><p><%=resInfo.getName() %>的详细信息</p></td>
				        </tr>
				       
				     
				        <tr >
				          <td height="35" colspan="4" ><div><b>一、基本信息<font size="" color="#FF0000">*</font></b></div></td>
				        </tr>
				        <tr height="30px" >
				          <td width="127">
				            <div id="left" style="margin-top:0px;">姓名</div>
				           </td>
				          <td width="250" ><div id="left" >
				          <input type="text" name="name" id="name" style="width:200;height:15px" value="<%=resInfo.getName()%>"/></div>
				          </td>
				          <td width="127" >
				          <div >性别</div>          
				          </td>
				          <td width="350" ><div style="margin-left:20px">
				          <input type="text" name="gender"  style="width:153px;height:15px;5" value="<%=resInfo.getGender() %>" >
				           </div>
				          </td>
				        </tr>
				        <tr height="30px">
				          <td  > <div id="left" style="margin-top:0px;">居住城市</div>          </td>
				          <td  ><div id="left"><input type="text" style="width:200;height:15px" name="city" value="<%=resInfo.getCity()%>" /></div></td>
				          <td ><div >拟移民国家</div></td>
				          <td  ><div style="margin-left:20px"><input type="text" name="immicountry" style="width:153px;height:15px;" value="<%=resInfo.getImiCountry()%>">

				         </div></td>
				        </tr>
				        <tr  height="30px">
				          <td ><div id="left" style="margin-top:0px;"> E-mail</div></td>
				          <td ><div id="left"><input type="text" style="width:200;height:15px" name="email" value="<%=resInfo.getE_mail()%>"/></div></td>
				          <td ><div >电话号码</div>          </td>
				          <td><div style="margin-left:20px"><input type="text" name="phonenumber" style="width:200;height:15px" value="<%=resInfo.getTelNumber()%>"/></div></td>
				        </tr>
				        <tr height="30px">
				          <td ><div id="left" style="margin-top:0px;">QQ号</div></td>
				          <td><div id="left"><input name="QQ" type="text"   style="width:200;height:15px" value="<%=resInfo.getqq()%>"/> </div></td>
				          <td><div >微信</div></td>
				          <td><div style="margin-left:20px"><input type="text" name="weixin" style="width:200;height:15px"  value="<%=resInfo.getweixin()%>"/></div></td>
				        </tr>
				        <tr>   <td colspan="4"><HR style="margin-top:0px;" width="100%" color='#CCCCCC' SIZE=0.1/><b >二、年龄<font size="" color="#FF0000">*</font></b><p id="left" style="margin-top:8px;">请选择出生日期&nbsp;<input name="birthday1" value="<%=resInfo.getDateOfBir()%>" type="text" onclick="laydate()"   style="width:200;height:15px"/></p></td><tr>
				      <tr>   <td colspan="4"><HR style="margin-top:0px;" width="100%" color='#CCCCCC' SIZE=0.1/><b >三、英语能力<font size="" color="#FF0000">*</font></b></td><tr>
				        <tr>
				          <%engCap engcap=new engCap();
	          engcap=DBHelper.getEngcapbyemail(email);
	          String engType=engcap.getEngType();
		        String listen=engcap.getListening();
		        String speak=engcap.getSpeaking();
		        String read=engcap.getReading();
		        String write=engcap.getWriting();
	    %>
				          <td colspan="4"><p id="left" style="margin-top:10px" >是否通过英语考试  &nbsp;&nbsp;<input name="passExam" type="radio" value="1" id="eng_text_yes" onclick="ischecked1()" style="margin-top:-4px" <%=(engcap.getEngType()!=null?"checked":"")%>/>&nbsp;是&nbsp;&nbsp;     
				          &nbsp;&nbsp;<input name="passExam" type="radio" value="0" id="eng_text_no" onclick="ischecked1()" style="margin-top:-4px" <%=(engcap.getEngType()==null?"checked":"")%>/>&nbsp;否
				          </p>
				          <%List<String> engtest=new ArrayList<String>();
				          //engtest.add("未参加英语考试");
				          engtest.add("雅思A（IELTS）");
				          engtest.add("雅思G（IELTS）");
				          engtest.add("职业英语考试（OET）");
				          engtest.add("托福（TOEFL）");
				          engtest.add("学术英语考试（PTE）");
				          engtest.add("剑轿英语等级证书考试（CAE）");
				          %>
				            <p id="left">请选择
				                <select  style="width:200px;height:20px;font-size:12px"  name="english_text_type" id="english_text_type"  >
				                <%
				                if(engType==null){
				                listen="";
				                speak="";
				                read="";
				                write="";
				                %>
				                	<option>未参加英语考试</option>
				                	<% for(int i=0;i<engtest.size();i++){
				                	%> <option value="<%=engtest.get(i)%>"><%=engtest.get(i) %></option><%} %>
				               <%} else{ 
				                for(int i=0;i<engtest.size();i++){
   if(engtest.get(i).equals(engType)) {%>
    <option value="<%= engtest.get(i)%>" selected="selected" ><%= engtest.get(i)%></option>
<%}else {%>
    <option value="<%=engtest.get(i)%>"><%=engtest.get(i) %></option>
    <%} }}%>
				             
				                </select>
				            </p>
				            <p id="left" style="margin-top:-5px;">
				            听力&nbsp;<input name="listening" id="listening" style="width:150px;height:15px" value="<%=listen%>" >
				             <!--  <select name="listening" id="listening" style="width:150px;height:25px" ></select> -->
				              口语&nbsp;<input name="speaking" id="speaking" style="width:150px;height:15px" value="<%=speak%>" >
				            <!--   <select name="speaking" id="speaking" style="width:150px;height:25px" > </select>-->
				              阅读&nbsp;<input name="reading" id="reading" style="width:150px;height:15px" value="<%=read%>">
				             <!--  <select name="reading" id="reading" style="width:150px;height:25px" > </select>-->
				              写作&nbsp;<input name="writing" id="writing" style="width:150px;height:15px" value="<%=write%>">
				             <!--  <select name="writing" id="writing" style="width:150px;height:25px" > </select>--> 
				          </p></td>
				        </tr>
				        
				         <tr>
				          <td colspan="4"><HR style="margin-top:-8px;" width="100%" color='#CCCCCC' SIZE=0.1/>
				            <div ><b>四、工作经历</b><font color="#FF0000">*</font>
				             <%List<work_experience> work_expinfo=DBHelper.getwork_experience(email);	
				             String job="";
			        	String country="";
			        	String starttime="";
			        	String endtime="";%>
	    
				              <p id="left" style="margin-top:10px">过去十年是具否有工作经历
				                &nbsp;&nbsp;<input name="offjob" type="radio" value="1" id="workinaus_yes" onclick="iswork1()" <%=(work_expinfo.size()!=0?"checked":"")%>  style="margin-top:-4px"/>&nbsp;是&nbsp;&nbsp;
				                &nbsp;&nbsp;<input name="offjob" type="radio" id="workinaus_no" value="0" onclick="iswork1()" <%=(work_expinfo.size()==0?"checked":"")%>  style="margin-top:-4px"/>&nbsp;否&nbsp;&nbsp;</p>
				   <div style="margin-top:10px;" id="left">
				<table width="800" border="0" cellspacing="0" cellpadding="0" id="work_experiencetable">
				  <tr>
				    <td width="185" height="30" align="center" bgcolor="#CCCCCC">职业名称</td>
				    <td width="185" align="center" bgcolor="#CCCCCC">受雇国家</td>
				    <td width="185" align="center" bgcolor="#CCCCCC">起始时间</td>
				    <td width="185" align="center" bgcolor="#CCCCCC">结束时间</td>
				    <td width="60" align="center" bgcolor="#CCCCCC">删除</td>			
				  </tr>
				  <%if(work_expinfo.size()==0){ %>
				   <tr>
				    <td  align="left"><div style="margin-top:8px"><input type="text" name="job1" id="job1"style="width:91%;height:15px;" value="<%=job %>"/></div></td>
				    <td align="center"><div style="margin-top:8px"><input type="text" style="width:90%;height:15px;"  name="country1"  id="country1" value="<%=country%>" /></div></td>
				    <td align="center"><div style="margin-top:8px"><input type="text" style="width:90%;height:15px;"  name="work_starttime1" id="work_starttime1" onclick="laydate()" value="<%=starttime %>"/></div></td>
				    <td align="center"><div style="margin-top:8px"><input type="text" style="width:90%;height:15px;"  name="work_endtime1" id="work_endtime1" onclick="laydate()" value="<%=endtime %>"/></div></td>
				    <td align="center"><div style="margin-top:8px"><input type="button"  value="删除" style="background-color:#FFF;margin-top:0" onclick="deleteCurrentRow(this)"></div></td>
				  </tr>
				  <%} %>
				      <%if(work_expinfo.size()!=0) {
				    for(int j=0;j<work_expinfo.size();j++ ){			        	
			        	 job=work_expinfo.get(j).getJob();
			        	 country=work_expinfo.get(j).getcountry();
			        	 starttime=work_expinfo.get(j).getstarttime();
			        	 endtime=work_expinfo.get(j).getendtime();	
			        	 String textjob="job"+(j+1);
			        	 String textcountry="country"+(j+1);
			        	 String textatarttime="work_starttime"+(j+1);
			        	 String textendtime="work_endtime"+(j+1);
				    %>  
				  <tr>
				    <td  align="left"><div style="margin-top:8px"><input type="text" name="<%=textjob %>" id="job1"style="width:91%;height:15px;" value="<%=job %>"/></div></td>
				    <td align="center"><div style="margin-top:8px"><input type="text" style="width:90%;height:15px;"  name="<%=textcountry %>"  id="country1" value="<%=country%>" /></div></td>
				    <td align="center"><div style="margin-top:8px"><input type="text" style="width:90%;height:15px;"  name="<%=textatarttime %>" id="work_starttime1" onclick="laydate()" value="<%=starttime %>"/></div></td>
				    <td align="center"><div style="margin-top:8px"><input type="text" style="width:90%;height:15px;"  name="<%=textendtime %>" id="work_endtime1" onclick="laydate()" value="<%=endtime %>"/></div></td>
				    <td align="center"><div style="margin-top:8px"><input type="button"  value="删除" style="background-color:#FFF;margin-top:0" onclick="deleteCurrentRow(this)"></div></td>
				  </tr>
				  <%}}%>
				</table><!-- <input type="button"  value="添加" id="IaddTR" onclick="addtr()" style="background-color:#FFF" /> -->
				</div>
				<!--</form>--><p></p>
				    <% tiWorkExper tiworkexper=new tiWorkExper();
	                                tiworkexper=DBHelper.getskillwork(email);
	                           %>
				<p id="left" >过去十年是否具有与提名职业相关的工作经历&nbsp;&nbsp;
				            <input name="ishasTiWorkEx" type="radio" value="1" id="workinaus_yes3"  style="margin-top:-4px" <%=(tiworkexper.getIn_aus_work()!=null?"checked":"")%>/>
				&nbsp;是&nbsp;&nbsp;&nbsp;&nbsp;
				<input name="ishasTiWorkEx" type="radio"  value="0"   style="margin-top:-4px" <%=(tiworkexper.getIn_aus_work()==null?"checked":"")%>/>
				&nbsp;否            </p>
				            </div>
				            <div >
				              <div >
				             
				                <p class="text" id="left" style="margin-top:-5px;">1、与提名职业相关的澳大利亚境外工作经历&nbsp;&nbsp;<input type="text" name="out_aus_work" id="out_aus_work" style="height:15px; width:250px;" value="<%=tiworkexper.getOut_aus_work() %>">
				              
				          
				                  
				                </p>
				                <p class="text" id="left" style="margin-top:-10px;"> 2、与提名职业相关的澳大利亚境内工作经历&nbsp;&nbsp;<input type="text" name="in_aus_work" id="in_aus_work" style="height:15px;width:250px;" value="<%=tiworkexper.getIn_aus_work() %>">
				  
				                </p>
				              </div>
				              <div>
				               
				              </div>
				            </div></td>
				        </tr>  
				       <tr>
				          <td colspan="4"><HR style="margin-top:-8px;" width="100%" color='#CCCCCC' SIZE=0.1/><div style="margin-top:0px" ><b >五、学历</b>
				            <font size="" color="#FF0000">*</font></div>
				            <div style="margin-top:-2px">
				              <div class="text" id="left"style="margin-top:0px" ><br/>
				                <table width="800"   border="0" cellpadding="0" cellspacing="0" id="Iqualification">
				                 <%  
	                     List<Mymajor> major= DBHelper.getmajor(email); %>
				                  <tr align="center" bgcolor="#CCCCCC" height="30px">
				                    <td width="150">学历</td>
				                    <td width="150">专业名称</td>
				                    <td width="150">获得国家</td>
				                    <td width="150">开始时间</td>
				                    <td width="150">结束时间</td>
				                  </tr>  <%  for(int p=0;p<major.size();p++){ 
				                	  String textbachelor="bachelor"+(p+1);
				                   	 String textmajor="bachelormajor"+(p+1);
			        	             String textmajorCountry="bachelormajorCountry"+(p+1);
			        	             String textmajoratarttime="bachelorstarttime"+(p+1);
			        	             String textmajorendtime="bachelorendtime"+(p+1);%>
				                  <tr align="center">
				                    <td><div style="margin-top:8px;" align="left">
				                    <input type="text"  style="width:95%;height:15px;" name="<%=textbachelor %>" value="<%=major.get(p).getEduLevel() %>">
				            
				                 </div></td>
				                    <td><div style="margin-top:8px"><input type="text" name="<%=textmajor %>" style="width:90%;height:15px;" value="<%=major.get(p).getMajor() %>"/></div></td>
				                    <td><div style="margin-top:8px"><input type="text" name="<%=textmajorCountry %>"  style="width:90%;height:15px;" value="<%=major.get(p).getMajorInCountry() %>"/></div></td>
				                    <td><div style="margin-top:8px"><input name="<%=textmajoratarttime %>" type="text"    style="width:90%;height:15px;" onclick="laydate()" <%=major.get(p).getMaStartTimeString() %>/></div></td>
				                    <td><div style="margin-top:8px"><input name="<%=textmajorendtime %>" type="text"   style="width:90%;height:15px;" onclick="laydate()" value="<%=major.get(p).getMaEndTimeString() %>"/></div></td>
				                  </tr><%} %>
				                </table><!-- <input type="button"  value="添加"  onclick="addbachelor()" style="background-color:#FFF" />（注：如果最高学历为本科以上，请务必填写本科学历情况！） -->
				           
				              </div>
				            </div></td>
				        </tr>
				          <tr>
				          <td colspan="4"><HR style="margin-top:10px;" width="100%" color='#CCCCCC' SIZE=0.1/><div ><b>六、其它</b>
				          </div>
				           <%List<others> temOthers=DBHelper.getOthers(email); 
	      int Othersize=temOthers.size();
	      int other1=0;
	      int other2=0;
	      int other3=0;
	      int other4=0;
	      if(Othersize!=0){
	      for(int k=0;k<Othersize;k++)
	      {
	    	  if("获得NAATI三级笔译或者二级口译".equals(temOthers.get(k).getOther()))
	    	  { other1=1;}
	    	  else
	    	  if("在澳洲偏远地区学习或生活两年以上".equals(temOthers.get(k).getOther()))
	    	  { other2=1;}
	    	  else
	    	  if("过去四年完成与提名职业相关的不短于一年的澳洲职业年培训".equals(temOthers.get(k).getOther()))
	    	  { other3=1;}
	    	  else
	    		  if("具有澳洲学习经历，并获得教育机构文凭".equals(temOthers.get(k).getOther()))
	    	  { other4=1;}
	      }}
	      %>
				            <div >
				              <div class="text" id="left" style="margin-top:10px">
				              <p></p>
				              <p ><input type="checkbox"  style="margin-top:-4px"  name="other" value="获得NAATI三级笔译或者二级口译" <%=(other1==1?"checked":"")%>>&nbsp;&nbsp;获得NAATI三级笔译或者二级口译</p>
				              <p><input type="checkbox"  style="margin-top:-4px"  name="other" value="在澳洲偏远地区学习或生活两年以上" <%=(other2==1?"checked":"")%>>&nbsp;&nbsp;在澳洲偏远地区学习或生活两年以上</p>
				              <p><input type="checkbox"  style="margin-top:-4px"  name="other" value="过去四年完成与提名职业相关的不短于一年的澳洲职业年培训" <%=(other3==1?"checked":"")%>>&nbsp;&nbsp;过去四年完成与提名职业相关的不短于一年的澳洲职业年培训</p>
				              <p><input type="checkbox"  style="margin-top:-4px"  name="other" value="具有澳洲学习经历，并获得教育机构文凭" <%=(other4==1?"checked":"")%>>&nbsp;&nbsp;具有澳洲学习经历，并获得教育机构文凭</p>
				       
				              </div>
				            </div></td>
				            </tr>
				         <tr>
				          <td colspan="4"><HR style="margin-top:0px;" width="100%" color='#CCCCCC' SIZE=0.1/><div >
				            <div style="margin-left:0" >				            
				              <b>七、配偶</b>				              
				            </div>
				            <div >
				              <p class="text" id="left" style="margin-top:10px">
				               婚姻状况<font size="" color="#FF0000">*</font>&nbsp;&nbsp;
				                  <input type="radio"  style="margin-top:-4px" name="isMarry" id="marriage_y" value="1" onclick="ismarried()" <%=(ismarry==1?"checked":"")%>/>&nbsp;已婚&nbsp;&nbsp;&nbsp;&nbsp;
				                  <input type="radio" style="margin-top:-4px;"  name="isMarry" id="marriage_n" value="0" onclick="ismarried()" <%=(ismarry==0?"checked":"")%>/> &nbsp;未婚              
				              </p>
				            </div>
				          </div></td>
				        </tr><%if(ismarry==1) {%>
				        <tr id=“tr1” >
				          <td colspan="4"><p id="left" style="margin-top:0px;"><b>1、配偶年龄</b></p></td>
				        </tr>
				        <tr id="tr2" height="20px" >
				          <td colspan="4"><p id="left" style="margin-top:-5px">请选择出生日期
				            <input name="Partnerbirthday" style="width:200px;height:15px" type="text" onclick="laydate()"  id="birthday2" value="<%=par_birthday %>"/>
				           </p></td>
				        </tr>
				          <%parengCap parengcap=new parengCap();
	          parengcap=DBHelper.getparEngcapbyemail(email);
	          String parengType=parengcap.getEngType();
	          String parlisten=parengcap.getListening();
	          String parspeak=parengcap.getSpeaking();
	          String parread=parengcap.getReading();
	          String parwrite=parengcap.getWriting();
	          %>
				        <tr id="tr4" >
				          <td colspan="4" ><p id="left" style="margin-top:0px;"><b>2、配偶英语能力</b></p><p id="left" style="margin-top:8px">是否通过英语考试&nbsp;&nbsp;
				            <input name="isPartenrPass" type="radio" value="1" id="eng_text_yes2" onclick="ischecked2()"  style="margin-top:-4px" <%=(parengcap.getEngType()!=null?"checked":"")%>/>
				          &nbsp;是&nbsp;&nbsp;&nbsp;&nbsp;
				            <input name="isPartenrPass" type="radio" value="0" id="eng_text_no2" onclick="ischecked2()"  style="margin-top:-4px" <%=(parengcap.getEngType()==null?"checked":"")%>/>
				       &nbsp;否 </p>
				            <p id="left">请选择
				              <select name="english_text_type2"  style="width:200px;height:25px;font-size:13px" id="english_text_type2" onchange="setScore2(this)">	
				                          <%
				                if(parengcap.getEngType()==null){
				                parlisten="";
				                parspeak="";
				                parread="";
				                parwrite="";
				                %>
				                	<option>未参加英语考试</option>
				                	<% for(int i=0;i<engtest.size();i++){
				                		%> <option value="<%=engtest.get(i)%>"><%=engtest.get(i) %></option><%} %>
				               <%} else{ 
				                for(int i=0;i<engtest.size();i++){
   if(engtest.get(i).equals(parengcap.getEngType())) {%>
    <option value="<%= engtest.get(i)%>" selected="selected" ><%= engtest.get(i)%></option>
<%}else {%>
    <option value="<%=engtest.get(i)%>"><%=engtest.get(i) %></option>
    <%} }}%>			              				    
				              </select>
				            </p>          <%
	         
	 
	          
	          %>
				            <p id="left">听力
				              <input name="listening2" id="listening2" style="width:150px;height:15px" value="<%=parspeak%>">
				         
				              口语
				              <input name="speaking2" id="speaking2" style="width:150px;height:15px" value="<%=parlisten%>">
				         
				              阅读
				              <input name="reading2" id="reading2" style="width:150px;height:15px" value="<%=parread%>">
				       
				              写作
				              <input name="writing2" id="writing2" style="width:150px;height:15px" value="<%=parwrite%>">
				            </p></td>
				        </tr>
				         <tr id="tr5" >
				          <td colspan="4"><div id="left">
				          <%List<par_work_experience> par_work_expinfo=DBHelper.getparwork_experience(email);
	          String par_job="";
	    	  String par_country="";
	    	  String par_starttime="";
	    	  String par_endtime="";
	    	  
	    	  %>
				            <p style="margin-top:0px;"><b>3、配偶工作经验</b> </p>
				            <div >
				              <p style="margin-top:0px;">配偶过去十年是具否有工作经历&nbsp;&nbsp;
				                <input  style="margin-top:-4px" name="paroffjob" type="radio" value="1" id="workinaus_yes2" onclick="iswork2()" <%=(par_work_expinfo.size()!=0?"checked":"")%>/>&nbsp;是&nbsp;&nbsp;&nbsp;&nbsp;
				                <input  style="margin-top:-4px" name="paroffjob" type="radio" id="workinaus_no3" value="0" onclick="iswork2()" <%=(par_work_expinfo.size()==0?"checked":"")%>/>&nbsp;否</p>
 <div style="margin-left:0px;">   <table width="800" border="0" cellspacing="0" cellpadding="0" id="par_work_experiencetable" >
				  <tr>
				    <td width="185" height="30" align="center" bgcolor="#CCCCCC">职业名称</td>
				    <td width="185" align="center" bgcolor="#CCCCCC">受雇国家</td>				
				    <td width="185" align="center" bgcolor="#CCCCCC">起始时间</td>
				    <td width="185" align="center" bgcolor="#CCCCCC">结束时间</td>
				    <td width="60" align="center" bgcolor="#CCCCCC">删除</td>				    
				  </tr><% 
				  if(par_work_expinfo.size()==0){				  
				  %>
					   <tr height="25px">				  
				    <td  align="left"><div style="margin-top:8px"><input type="text" name="par_job1" id="par_job1" style="width:91%;height:15px;" value="<%=par_job%>"/></div></td>
				    <td align="center"><div style="margin-top:8px"><input name="par_country1" id="par_country1" type="text"  style="width:90%;height:15px;" value="<%=par_country%>"/></div></td>
				    <td align="center"><div style="margin-top:8px"><input type="text"  name="par_work_starttime1" style="width:90%;height:15px;" id="par_work_starttime1" onclick="laydate()" value="<%=par_starttime%>"/></div></td>
				    <td align="center"><div style="margin-top:8px"><input type="text"  name="par_work_endtime1" style="width:90%;height:15px;" id="par_work_endtime1" onclick="laydate()" value="<%=par_endtime%>"/></div></td>
				    <td align="center"><div style="margin-top:8px"><input  type="button" value="删除" size="1" style="background-color:#FFF"  onclick="deleteCurrentRow(this)"></div></td>
				  </tr>
				 <%} %> 
				
				  <%if(par_work_expinfo.size()!=0) {
					  for(int j=0;j<par_work_expinfo.size();j++ ){
				        	
			        	  par_job=par_work_expinfo.get(j).getpar_Job();
			        	  par_country=par_work_expinfo.get(j).getpar_country();
			        	  par_starttime=par_work_expinfo.get(j).getpar_starttime();
			        	  par_endtime=par_work_expinfo.get(j).getpar_endtime();
				        	 String partextjob="par_job"+(j+1);
				        	 String partextcountry="par_country"+(j+1);
				        	 String partextatarttime="par_work_starttime"+(j+1);
				        	 String partextendtime="par_work_endtime"+(j+1);
			        	  
			        	  %>
				  <tr height="25px">				  
				    <td  align="left"><div style="margin-top:8px"><input type="text" name="<%=partextjob %>" id="par_job1" style="width:91%;height:15px;" value="<%=par_job%>"/></div></td>
				    <td align="center"><div style="margin-top:8px"><input name="<%=partextcountry %>" id="par_country1" type="text"  style="width:90%;height:15px;" value="<%=par_country%>"/></div></td>
				    <td align="center"><div style="margin-top:8px"><input type="text"  name="<%=partextatarttime %>" style="width:90%;height:15px;" id="par_work_starttime1" onclick="laydate()" value="<%=par_starttime%>"/></div></td>
				    <td align="center"><div style="margin-top:8px"><input type="text"  name="<%=partextendtime %>" style="width:90%;height:15px;" id="par_work_endtime1" onclick="laydate()" value="<%=par_endtime%>"/></div></td>
				    <td align="center"><div style="margin-top:8px"><input  type="button" value="删除" size="1" style="background-color:#FFF"  onclick="deleteCurrentRow(this)"></div></td>
				  </tr><%}} %>
				</table><!-- <input type="button"  value="添加" id="paraddTR"  onclick="par_add()" style="background-color:#FFF" /> -->
				     <%  parskillwork parskill=new parskillwork();
	          parskill=DBHelper.getparskillwork(email); %>
				    </div> <p ></p>  <p>配偶过去两年内是否具有至少一年与提名职业相关的工作经历&nbsp;&nbsp;
				                <input name="ParishasTiWorkEx" type="radio" value="1" id="workinaus_yes4"  style="margin-top:-4px" <%=(parskill.getIn_aus_work()!=null?"checked":"")%> />
				              &nbsp;是&nbsp;&nbsp;&nbsp;&nbsp;
				                <input name="ParishasTiWorkEx" type="radio" id="workinaus_no4" value="0"   style="margin-top:-4px" <%=(parskill.getIn_aus_work()!=null?"checked":"")%> />
				              &nbsp;否 &nbsp;&nbsp;</p>
				            </div>
				            <div>
				              <div >
				                <p class="text" id="left2" style="margin-top:-5px;">①配偶过去十年与提名职业相关的澳大利亚境外工作经历&nbsp;&nbsp;<input type="text" name="par_out_aus_work" id="out_aus_work2"  style="width:250px;height:15px;" value="<%=parskill.getIn_aus_work() %>">
				    
				                </p>
				                <p class="text" style="margin-top:-10px;"> ②配偶过去十年与提名职业相关的澳大利亚境内工作经历&nbsp;&nbsp;<input type="text"  name="par_in_aus_work" id="in_aus_work2" style="width:250px;height:15px;" value="<%=parskill.getOut_aus_work() %>">
				            
				                </p>
				              </div>
				            </div>
				          </div>
				          <div >
				            <div>
				              <div class="text" id="left"></div>
				            </div>
				          </div></td>
				        </tr>
				         <tr id="tr6" >
				          <td colspan="4"><p id=left style="margin-top:0px;"><b>4、配偶学历</b></p><div 
				            id="left">
				          </div>
				            <div style="margin-top:-15px">
				              <div  style="margin-top:-10px" id="left"><br/>
				               <table width="800"   border="0" cellpadding="0" cellspacing="0" id="parqualification">
				               <% List<par_major> parmajor=DBHelper.getparmajor(email);
				               %>
				                  <tr align="center" bgcolor="#CCCCCC" height="30px">
				                    <td width="150">学历</td>
				                    <td width="150">专业名称</td>
				                    <td width="150">获得国家</td>
				                    <td width="150">开始时间</td>
				                    <td width="150">结束时间</td>
				                  </tr>  
				                  
				                  <%for(int q=0;q<parmajor.size();q++){
				                	   String texpartbachelor="parbachelor"+(q+1);
					                   	 String textparmajor="parbachelormajor"+(q+1);
				        	             String textparmajorCountry="parbachelormajorCountry"+(q+1);
				        	             String textparmajoratarttime="parbachelorstarttime"+(q+1);
				        	             String textparmajorendtime="parbachelorendtime"+(q+1);
				                	  %>
				             <tr align="center">
				                    <td ><div style="margin-top:8px" align="left">
				                    <input type="text" name="<%=texpartbachelor %>" id="par_qua" style="width:95%;height:15px;"  value="<%=parmajor.get(q).getEduLevel()  %>">
</div></td>
				                    <td><div style="margin-top:8px"><input type="text" name="<%=textparmajor%>"id="major22" style="width:90%;height:15px;" value="<%=parmajor.get(q).getMajor() %>"/></div></td>
				                    <td><div style="margin-top:8px"><input type="text" name="<%=textparmajorCountry %>" id="majorcountry22"  style="width:90%;height:15px;" value="<%=parmajor.get(q).getMajorInCountry()%> " /></div></td>
				                    <td><div style="margin-top:8px"><input name="<%=textparmajoratarttime %>" type="text" id="begintime22"  onclick="laydate()"  style="width:90%;height:15px;" value="<%=parmajor.get(q).getMaStartTimeString() %>"/></div></td>
				                    <td><div style="margin-top:8px"><input name="<%=textparmajorendtime %>" type="text" id="endtime22" onclick="laydate()"  style="width:90%;height:15px;" value="<%=parmajor.get(q).getMaEndTimeString() %>"/></div></td>
				                  </tr><%} %>
				                </table><!-- <input type="button" id="addparbachelorID"  value="添加"  onclick="addparbachelor()" style="background-color:#FFF" />（注：如果最高学历为本科以上，请务必填写本科学历情况！）
				             -->
				           
				              </div>
				            </div> </td>
				        </tr>
				       <%} %>
			  
				        <tr>
				          <td height="56" colspan="4" align="center" ><p style="margin-top:10px;"><input  type="submit" name="submit" value="保存"  style="background-color:#FFF"  > </p>
				                 <p><%
	   if(tag==0){
	List<baseInfo> resultInfor=DBHelper.getShowInfo();
	int rowCount = DBHelper.getCount();//总行数
	if(nowj!=0){int pre=nowj-1;
	String preemail=resultInfor.get(pre).getE_mail();%>
	<a href="/immigration/page/admin/admin_evaluation_details.jsp?EMAIL=<%=preemail%>&tempj=<%=pre %>&tag=<%=tag %>">上一页</a>
	<% }%>
	<% 
	if(nowj!=rowCount-1){int post=nowj+1;
	String postemail=resultInfor.get(post).getE_mail();%>
	<a href="/immigration/page/admin/admin_evaluation_details.jsp?EMAIL=<%=postemail%>&tempj=<%=post %>&tag=<%=tag %>">下一页</a>
	<%} }%>
	<% 
	if(tag==1)
	{
	List<baseInfo> resultInfor=DBHelper.getImportantInfo();
	int rowCount = DBHelper.getImportantCount();//总行数
	if(nowj!=0){int pre=nowj-1;
	String preemail=resultInfor.get(pre).getE_mail();%>
	<a href="/immigration/page/admin/admin_evaluation_details.jsp?EMAIL=<%=preemail%>&tempj=<%=pre %>&tag=<%=tag %>">上一页</a>
	<% }%>
	<% 
	if(nowj!=rowCount-1){int post=nowj+1;
	String postemail=resultInfor.get(post).getE_mail();%>
	<a href="/immigration/page/admin/admin_evaluation_details.jsp?EMAIL=<%=postemail%>&tempj=<%=post %>&tag=<%=tag %>">下一页</a>
	<%} }%></p>      
				          </td>
				       </tr>
				      </table>
				  </form>   	</div>
</body>
</html>